USE [temp_frame]
GO

/****** Object:  Table [dbo].[BasePerson]    Script Date: 07/03/2012 18:24:31 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[BasePerson](
	[Id] [bigint] IDENTITY(1,1) NOT NULL,
	[GuidPerson] [varchar](32) NULL,
	[Name] [varchar](50) NULL,
	[Birthday] [date] NULL,
	[Sex] [varchar](10) NULL,
	[BaseOrgSysCode] [bigint] NULL,
	[BaseTitle] [varchar](300) NULL,
	[BasePosition] [varchar](300) NULL,
	[Phone] [varchar](300) NULL,
	[Mobile] [varchar](300) NULL,
	[Email] [varchar](300) NULL,
	[Descr] [ntext] NULL,
	[IsActive] [int] NULL,
	[LineNo] [bigint] NULL,
	[Createdat] [datetime] NULL,
	[CreatedBy] [varchar](32) NULL,
	[CreatedByName] [varchar](50) NULL,
	[UpdatedAt] [datetime] NULL,
	[UpdatedBy] [varchar](32) NULL,
	[UpdatedByName] [varchar](50) NULL,
 CONSTRAINT [PK_basePerson] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

